﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200088D RID: 2189
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GIBBJHPOHGE : IMessage<GIBBJHPOHGE>, IMessage, IEquatable<GIBBJHPOHGE>, IDeepCloneable<GIBBJHPOHGE>, IBufferMessage
	{
		// Token: 0x17001B8F RID: 7055
		// (get) Token: 0x060061D0 RID: 25040 RVA: 0x00103EFC File Offset: 0x001020FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GIBBJHPOHGE> Parser
		{
			get
			{
				return GIBBJHPOHGE._parser;
			}
		}

		// Token: 0x17001B90 RID: 7056
		// (get) Token: 0x060061D1 RID: 25041 RVA: 0x00103F03 File Offset: 0x00102103
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GIBBJHPOHGEReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001B91 RID: 7057
		// (get) Token: 0x060061D2 RID: 25042 RVA: 0x00103F15 File Offset: 0x00102115
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GIBBJHPOHGE.Descriptor;
			}
		}

		// Token: 0x060061D3 RID: 25043 RVA: 0x00103F1C File Offset: 0x0010211C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GIBBJHPOHGE()
		{
		}

		// Token: 0x060061D4 RID: 25044 RVA: 0x00103F24 File Offset: 0x00102124
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GIBBJHPOHGE(GIBBJHPOHGE other) : this()
		{
			GIBBJHPOHGE.CGMDMADPIGGOneofCase cgmdmadpiggcase = other.CGMDMADPIGGCase;
			if (cgmdmadpiggcase != GIBBJHPOHGE.CGMDMADPIGGOneofCase.GPNOPGOLLBI)
			{
				if (cgmdmadpiggcase != GIBBJHPOHGE.CGMDMADPIGGOneofCase.BKGINDBGDLO)
				{
					if (cgmdmadpiggcase == GIBBJHPOHGE.CGMDMADPIGGOneofCase.LNEOAGBEIME)
					{
						this.LNEOAGBEIME = other.LNEOAGBEIME.Clone();
					}
				}
				else
				{
					this.BKGINDBGDLO = other.BKGINDBGDLO;
				}
			}
			else
			{
				this.GPNOPGOLLBI = other.GPNOPGOLLBI.Clone();
			}
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060061D5 RID: 25045 RVA: 0x00103F9B File Offset: 0x0010219B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GIBBJHPOHGE Clone()
		{
			return new GIBBJHPOHGE(this);
		}

		// Token: 0x17001B92 RID: 7058
		// (get) Token: 0x060061D6 RID: 25046 RVA: 0x00103FA3 File Offset: 0x001021A3
		// (set) Token: 0x060061D7 RID: 25047 RVA: 0x00103FBA File Offset: 0x001021BA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool BKGINDBGDLO
		{
			get
			{
				return this.HasBKGINDBGDLO && (bool)this.cGMDMADPIGG_;
			}
			set
			{
				this.cGMDMADPIGG_ = value;
				this.cGMDMADPIGGCase_ = GIBBJHPOHGE.CGMDMADPIGGOneofCase.BKGINDBGDLO;
			}
		}

		// Token: 0x17001B93 RID: 7059
		// (get) Token: 0x060061D8 RID: 25048 RVA: 0x00103FD3 File Offset: 0x001021D3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool HasBKGINDBGDLO
		{
			get
			{
				return this.cGMDMADPIGGCase_ == GIBBJHPOHGE.CGMDMADPIGGOneofCase.BKGINDBGDLO;
			}
		}

		// Token: 0x060061D9 RID: 25049 RVA: 0x00103FE2 File Offset: 0x001021E2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void ClearBKGINDBGDLO()
		{
			if (this.HasBKGINDBGDLO)
			{
				this.ClearCGMDMADPIGG();
			}
		}

		// Token: 0x17001B94 RID: 7060
		// (get) Token: 0x060061DA RID: 25050 RVA: 0x00103FF2 File Offset: 0x001021F2
		// (set) Token: 0x060061DB RID: 25051 RVA: 0x0010400E File Offset: 0x0010220E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public KNOKJFOBIME LNEOAGBEIME
		{
			get
			{
				if (this.cGMDMADPIGGCase_ != GIBBJHPOHGE.CGMDMADPIGGOneofCase.LNEOAGBEIME)
				{
					return null;
				}
				return (KNOKJFOBIME)this.cGMDMADPIGG_;
			}
			set
			{
				this.cGMDMADPIGG_ = value;
				this.cGMDMADPIGGCase_ = ((value == null) ? GIBBJHPOHGE.CGMDMADPIGGOneofCase.None : GIBBJHPOHGE.CGMDMADPIGGOneofCase.LNEOAGBEIME);
			}
		}

		// Token: 0x17001B95 RID: 7061
		// (get) Token: 0x060061DC RID: 25052 RVA: 0x00104028 File Offset: 0x00102228
		// (set) Token: 0x060061DD RID: 25053 RVA: 0x00104044 File Offset: 0x00102244
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public KNOKJFOBIME GPNOPGOLLBI
		{
			get
			{
				if (this.cGMDMADPIGGCase_ != GIBBJHPOHGE.CGMDMADPIGGOneofCase.GPNOPGOLLBI)
				{
					return null;
				}
				return (KNOKJFOBIME)this.cGMDMADPIGG_;
			}
			set
			{
				this.cGMDMADPIGG_ = value;
				this.cGMDMADPIGGCase_ = ((value == null) ? GIBBJHPOHGE.CGMDMADPIGGOneofCase.None : GIBBJHPOHGE.CGMDMADPIGGOneofCase.GPNOPGOLLBI);
			}
		}

		// Token: 0x17001B96 RID: 7062
		// (get) Token: 0x060061DE RID: 25054 RVA: 0x0010405E File Offset: 0x0010225E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GIBBJHPOHGE.CGMDMADPIGGOneofCase CGMDMADPIGGCase
		{
			get
			{
				return this.cGMDMADPIGGCase_;
			}
		}

		// Token: 0x060061DF RID: 25055 RVA: 0x00104066 File Offset: 0x00102266
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void ClearCGMDMADPIGG()
		{
			this.cGMDMADPIGGCase_ = GIBBJHPOHGE.CGMDMADPIGGOneofCase.None;
			this.cGMDMADPIGG_ = null;
		}

		// Token: 0x060061E0 RID: 25056 RVA: 0x00104076 File Offset: 0x00102276
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GIBBJHPOHGE);
		}

		// Token: 0x060061E1 RID: 25057 RVA: 0x00104084 File Offset: 0x00102284
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GIBBJHPOHGE other)
		{
			return other != null && (other == this || (this.BKGINDBGDLO == other.BKGINDBGDLO && object.Equals(this.LNEOAGBEIME, other.LNEOAGBEIME) && object.Equals(this.GPNOPGOLLBI, other.GPNOPGOLLBI) && this.CGMDMADPIGGCase == other.CGMDMADPIGGCase && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060061E2 RID: 25058 RVA: 0x001040F8 File Offset: 0x001022F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.HasBKGINDBGDLO)
			{
				num ^= this.BKGINDBGDLO.GetHashCode();
			}
			if (this.cGMDMADPIGGCase_ == GIBBJHPOHGE.CGMDMADPIGGOneofCase.LNEOAGBEIME)
			{
				num ^= this.LNEOAGBEIME.GetHashCode();
			}
			if (this.cGMDMADPIGGCase_ == GIBBJHPOHGE.CGMDMADPIGGOneofCase.GPNOPGOLLBI)
			{
				num ^= this.GPNOPGOLLBI.GetHashCode();
			}
			num ^= (int)this.cGMDMADPIGGCase_;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060061E3 RID: 25059 RVA: 0x00104176 File Offset: 0x00102376
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060061E4 RID: 25060 RVA: 0x0010417E File Offset: 0x0010237E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060061E5 RID: 25061 RVA: 0x00104188 File Offset: 0x00102388
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.cGMDMADPIGGCase_ == GIBBJHPOHGE.CGMDMADPIGGOneofCase.GPNOPGOLLBI)
			{
				output.WriteRawTag(162, 44);
				output.WriteMessage(this.GPNOPGOLLBI);
			}
			if (this.HasBKGINDBGDLO)
			{
				output.WriteRawTag(248, 94);
				output.WriteBool(this.BKGINDBGDLO);
			}
			if (this.cGMDMADPIGGCase_ == GIBBJHPOHGE.CGMDMADPIGGOneofCase.LNEOAGBEIME)
			{
				output.WriteRawTag(138, 103);
				output.WriteMessage(this.LNEOAGBEIME);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060061E6 RID: 25062 RVA: 0x00104218 File Offset: 0x00102418
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.HasBKGINDBGDLO)
			{
				num += 3;
			}
			if (this.cGMDMADPIGGCase_ == GIBBJHPOHGE.CGMDMADPIGGOneofCase.LNEOAGBEIME)
			{
				num += 2 + CodedOutputStream.ComputeMessageSize(this.LNEOAGBEIME);
			}
			if (this.cGMDMADPIGGCase_ == GIBBJHPOHGE.CGMDMADPIGGOneofCase.GPNOPGOLLBI)
			{
				num += 2 + CodedOutputStream.ComputeMessageSize(this.GPNOPGOLLBI);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060061E7 RID: 25063 RVA: 0x00104284 File Offset: 0x00102484
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GIBBJHPOHGE other)
		{
			if (other == null)
			{
				return;
			}
			GIBBJHPOHGE.CGMDMADPIGGOneofCase cgmdmadpiggcase = other.CGMDMADPIGGCase;
			if (cgmdmadpiggcase != GIBBJHPOHGE.CGMDMADPIGGOneofCase.GPNOPGOLLBI)
			{
				if (cgmdmadpiggcase != GIBBJHPOHGE.CGMDMADPIGGOneofCase.BKGINDBGDLO)
				{
					if (cgmdmadpiggcase == GIBBJHPOHGE.CGMDMADPIGGOneofCase.LNEOAGBEIME)
					{
						if (this.LNEOAGBEIME == null)
						{
							this.LNEOAGBEIME = new KNOKJFOBIME();
						}
						this.LNEOAGBEIME.MergeFrom(other.LNEOAGBEIME);
					}
				}
				else
				{
					this.BKGINDBGDLO = other.BKGINDBGDLO;
				}
			}
			else
			{
				if (this.GPNOPGOLLBI == null)
				{
					this.GPNOPGOLLBI = new KNOKJFOBIME();
				}
				this.GPNOPGOLLBI.MergeFrom(other.GPNOPGOLLBI);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060061E8 RID: 25064 RVA: 0x00104325 File Offset: 0x00102525
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060061E9 RID: 25065 RVA: 0x00104330 File Offset: 0x00102530
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 5666U)
				{
					if (num != 12152U)
					{
						if (num != 13194U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							KNOKJFOBIME knokjfobime = new KNOKJFOBIME();
							if (this.cGMDMADPIGGCase_ == GIBBJHPOHGE.CGMDMADPIGGOneofCase.LNEOAGBEIME)
							{
								knokjfobime.MergeFrom(this.LNEOAGBEIME);
							}
							input.ReadMessage(knokjfobime);
							this.LNEOAGBEIME = knokjfobime;
						}
					}
					else
					{
						this.BKGINDBGDLO = input.ReadBool();
					}
				}
				else
				{
					KNOKJFOBIME knokjfobime2 = new KNOKJFOBIME();
					if (this.cGMDMADPIGGCase_ == GIBBJHPOHGE.CGMDMADPIGGOneofCase.GPNOPGOLLBI)
					{
						knokjfobime2.MergeFrom(this.GPNOPGOLLBI);
					}
					input.ReadMessage(knokjfobime2);
					this.GPNOPGOLLBI = knokjfobime2;
				}
			}
		}

		// Token: 0x04002579 RID: 9593
		private static readonly MessageParser<GIBBJHPOHGE> _parser = new MessageParser<GIBBJHPOHGE>(() => new GIBBJHPOHGE());

		// Token: 0x0400257A RID: 9594
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400257B RID: 9595
		public const int BKGINDBGDLOFieldNumber = 1519;

		// Token: 0x0400257C RID: 9596
		public const int LNEOAGBEIMEFieldNumber = 1649;

		// Token: 0x0400257D RID: 9597
		public const int GPNOPGOLLBIFieldNumber = 708;

		// Token: 0x0400257E RID: 9598
		private object cGMDMADPIGG_;

		// Token: 0x0400257F RID: 9599
		private GIBBJHPOHGE.CGMDMADPIGGOneofCase cGMDMADPIGGCase_;

		// Token: 0x02001944 RID: 6468
		public enum CGMDMADPIGGOneofCase
		{
			// Token: 0x04006419 RID: 25625
			None,
			// Token: 0x0400641A RID: 25626
			BKGINDBGDLO = 1519,
			// Token: 0x0400641B RID: 25627
			LNEOAGBEIME = 1649,
			// Token: 0x0400641C RID: 25628
			GPNOPGOLLBI = 708
		}
	}
}
